package main

import (
	"fmt"
	"gms"
	"handle"
)

func main() {
	route := gms.NewRoute()
	route.Public("../public")
	route.View("../public", ".html")
	route.Handle(&handle.Handle{})
	if gms.ListenAndServe(":8081", route) != nil {
		fmt.Println("Server Listen:8081...")
	}
}
